<div class="pub_top_bar {{$Loc.current_page=='/main'&&'main'}}">
    <div class="box">
        <div class="icon-th-list" event-click="{{'$Event.top.is_menu'}}"></div>
        <div class="store_title">
            {{#if $Loc.current_page!='/main'}}
            <img src="/images/jewel/store_title.jpg">
            {{/if}}
        </div>
        <div class="icon-search" event-click="{{'$Event.top.show_search_box'}}"></div>
    </div>
    {{#if !loginer}}
    <href to="/sign_in.html?cb_url={{$Cache.top.cb_url}}" class="icon-user"></href>
    {{/if}}
    <!-- 顶部通用导航 -->
    <div class="navs {{$Cache.top.is_menu&&'focus'}}">
        <href event-click="{{'$Event.top.is_menu'}}" to="/main.html" class="nav">首页</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/goods_list.html" class="nav">商品</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/classify.html" class="nav">分类</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/cart.html" class="nav">购物车</href>
        <href event-click="{{'$Event.top.is_menu'}}" to="/user/main.html" class="nav">我的</href>
    </div>
    <!-- 搜索框 -->
    <div class="search_box {{$Cache.top.is_show_search&&'focus'}}">
        <div class="icon-up-open-big" event-click="{{'$Event.top.show_search_box'}}"></div>
        <input type="text" bind-value="{{$Cache.search_text}}" bind-input="{{'$Cache.search_text'}}" event-enter="{{'$Event.open_search'}}" placeholder="输入关键字搜索" />
        <div class="icon-right-open-big" event-click="{{'$Event.open_search'}}"></div>
    </div>
</div>


<div class="bottom_btn_box">
    <href to="/main.html" class="item">
        首页
    </href>
    <href to="/store_map.html" class="item">
        珠宝地图
    </href>
    <a class="item" event-click="{{'$Event.top.jumpToCart'}}">
        购物车
    </a>
    <href to="/user/main.html" class="item">
        {{loginer?'我的':'登陆'}}
    </href>
</div>
{{useCss "/app-pages/css/default.scss", "*"}}

<!-- 背景 -->
<!-- {{#if bus_info.config.is_use_bg_img}} {{#if bus_info.config.is_bg_img_alpha}}
<div class="themeimgblock" style="position: fixed;width: 100%;height:100%;top:0;left:0;background-color: rgba(255,255,255,0.6);z-index: -1;"></div>
{{/if}}
<img style="display:block;position: fixed;width: 100%;height: 100%;z-index: -2;top:0;left: 0;" bind-src="{{bus_info.config.using_bg_img}}{{#if bus_info.config.is_bg_img_blur}}?imageMogr2/blur/10x10{{/if}}">{{/if}}
 -->